package cn.hrbnu.mapper;

import cn.hrbnu.po.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> getById(Long articleId);
    List<Comment> getByRootId(Long id);

    void save(Comment comment);
}